package com.youlai.system.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.youlai.system.model.entity.AssetComputer;
import com.youlai.system.model.form.ComputerForm;
import com.youlai.system.model.query.ComputerPageQuery;
import com.youlai.system.model.query.UserPageQuery;
import com.youlai.system.model.vo.AssetComputerImportVO;
import com.youlai.system.model.vo.AssetComputerPageVO;
import com.youlai.system.model.vo.UserPageVO;

import java.util.List;

public interface AssetComputerService extends IService<AssetComputer> {

    Page<AssetComputerPageVO> listPagedComputers(ComputerPageQuery queryParams);

    Long saveComputer(ComputerForm computerForm);

    ComputerForm getComputerFormData(Long computerId);

    boolean updateComputer(Long computerId, ComputerForm computerForm);

    boolean deleteComputer(String ids);

    List<AssetComputerImportVO> listExportComputers(ComputerPageQuery queryParams);
}
